﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace Wsitech.Model
{
    /// <summary>
    /// 功能：     实体类 TextInfo ( 文字信息表 ) 
    /// 作者：     LI
    /// 日期：     2012-05-16
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class TextInfo
    {
        public TextInfo()
        {

        }

        #region Model

        /// <summary>
        /// 主键
        /// </summary>
        public string TextInfoId { get; set; }
        /// <summary>
        /// sitemap表外键
        /// </summary>
        public string SitemapId { get; set; }
        /// <summary>
        /// 所属公司编号
        /// </summary>
        public string CompanyId { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 副标题
        /// </summary>
        public string SubTitle { get; set; }
        /// <summary>
        /// 正文
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }
        /// <summary>
        /// 原出处URL
        /// </summary>
        public string ReferenceUrl { get; set; }
        /// <summary>
        /// 资源路径
        /// </summary>
        public string SourcePath { get; set; }
        /// <summary>
        /// 浏览次数
        /// </summary>
        public int ViewCount { get; set; }
        /// <summary>
        /// 置顶
        /// </summary>
        public bool IsTop { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public int SortIndex { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 新闻是否来自媒体
        /// </summary>
        public bool IsFromMedia { get; set; }

        /// <summary>
        /// 媒体名称
        /// </summary>
        public string MediaName { get; set; }

        /// <summary>
        /// 媒体刊登时间
        /// </summary>
        public DateTime MediaPublishTime { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        #endregion Model

        /// <summary>
        /// 概述
        /// </summary>
        public string Summary { get; set; }
    }
}
